# draw floor
import pygame

class Floor(pygame.sprite.Sprite):
    def __init__(self,pos,screen_height,screen_width):
        super().__init__()
        self.image = pygame.Surface((screen_width,20))
        self.image.fill((137,46,46))
        self.rect = self.image.get_rect(center = pos)
        self.height_y_constraint = screen_height
